<link rel="stylesheet" type="text/css" href="<?php echo TEMPLATES_PATH;?>/css/member_order.css">
<header class="layout head padding-small">
    <a href="javascript:pageBack();" class="hBack float-left"></a>
    <h4 class="hTxt float-left text-center text-white">物流动态</h4>
    <a href="javascript:;" id="btnJdkey" class="hHlep float-right"></a>
</header>
<div class="new-ct">
    <div class="new-order">
        <div class="new-order-track">
            <span>订单编号：<?php echo $output['order_info']['order_sn']; ?></span>
            <span>发货时间：<?php echo date("Y-m-d H:i:s",$output['order_info']['shipping_extra_time']); ?></span>
        </div>
		<div class="new-order-flow new-p-re">
			<span class="new-order-arr"></span>
            <ul class="new-of-storey" id="express_list">
             <?php
                    //官方商城物流
                    $area_info=explode('	',$output['order_info']['area_info']);
                   if($output['store_info']['store_id']==OFFICIAL_STORE_ID || $output['store_info']['store_id']==JKY_STORE_ID){
                       switch($output['order_info']['order_state']){
                           case 11:	echo '<li><span class="icon"></span><span>货已从广州总部发出</span></li><li><span class="icon"></span><span>货已到——'.$area_info[0].'——'.$area_info[1].'中转站
                           </span></li><li><span class="icon"></span><span>货已从——'.$area_info[0].'——'.$area_info[1].'中转站发出</span></li><li><span class="icon on"></span><span>货已签收</span></li>';break;
                           case 25:	echo '<li><span class="icon on"></span><span>货已从广州总部发出</span></li>';
						   				break;
                           case 30:	echo '<li><span class="icon"></span><span>货已从广州总部发出</span></li><li><span class="icon"></span><span>货已到——'.$area_info[0].'——'.$area_info[1].'中转站
                           </span></li><li><span class="icon on"></span><span>货已从——'.$area_info[0].'——'.$area_info[1].'中转站发出</span></li>';
						   				break;
                           case 40:	echo '<li><span class="icon"></span><span>货已从广州总部发出</span></li><li><span class="icon"></span><span>货已到——'.$area_info[0].'——'.$area_info[1].'中转站
                           </span></li><li><span class="icon"></span><span>货已从——'.$area_info[0].'——'.$area_info[1].'中转站发出</span></li><li><span class="icon on"></span><span>货已签收</span></li>';
                       }
                   }else{
                    	switch($output['order_info']['order_state']){
							case 30:echo '<li><span class="icon on"></span><span>货已从'.trim($output['store_info']['area_info']).'发出</span></li>';break;
							case 40:echo '<li><span class="icon on"></span><span>货已签收</span></li>';
                       }
                   }
             ?>
            </ul>
        </div>
	</div>
</div>
